home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / diskmags / 4671-5.790 / dmg-5269 / routines / userfade.txt < prev   
Text File  |  1989-12-31  |  2KB  |  78 lines

  1.                              THIRD DIMENSION
  2.  
  3. USER FADES
  4.  
  5. There are some user fades on this disk for kit 2 that can be used 
  6. to give various effects.You can see the patterns by loading the 
  7. Userfade.IFF file into either kit 2 as a border or into your art 
  8. program.Amiga users simply click on the picture.Simply copy the 
  9. example patterns to the user definable fade patterns then follow 
  10. the routines below.Please note that some of the routines differ 
  11. from others.
  12.  
  13. Use them as follows-
  14.  
  15. Brick
  16. Copy the user fade pattern for Brick to userfade number 
  17. ten.Next create a white cube then create a red rectangle in 
  18. front of it and give the area that they are both in the 
  19. following condition-
  20.  
  21. SETFADE(10,3,1)  
  22. 10 is the fade number
  23. 3 is the object number
  24. 1 is the area number
  25.  
  26. You should then end up with a brick wall effect. 
  27.  
  28. Fence
  29. Copy the fence userfade pattern to userfade 10.Create a brown
  30. fence object and give it the same setfade code as above in an area 
  31. condition.
  32.  
  33. Glass
  34. Copy the glass userfade pattern to userfade 10.Create a pane of 
  35. glass using a blue window object and give it the same setfade 
  36. code as above in an area condition.
  37.  
  38. Netting
  39. Copy the netting userfade pattern to userfade 10.Create a wall
  40. netting black object and give it the same setfade code as above 
  41. in an area/local condition.
  42.  
  43. Grass
  44. Copy the grass userfade pattern to userfade 10.Create a dark 
  45. green rectangle object,lay it flat on top of a light green ground 
  46. object and give it (rectangle) the same setfade code as above in 
  47. an area/local condition.
  48.  
  49. Blinds
  50. Copy the blinds userfade pattern to userfade 10.Create a grey
  51. window object and give it the same setfade code as above 
  52. in an area/local condition.
  53.  
  54. Cloth 1 and 2 
  55. Create a yellow cube to use as a table.Add a blue rectangle flat 
  56. on top of it and give the rectangle the same userfade code as 
  57. above.Use userfade pattern Cloth1 ( which you copy to userfade 10)
  58. for this rectangle.Next create another rectangle flat on top of 
  59. the first,colour it red and use the userfade Cloth2 pattern which 
  60. you copy to Userfade 11.Give this object the same code as before 
  61. but substitute the number 11 for 10.E.g.
  62.  
  63. Setfade (11,3,1)
  64.  
  65. The full area condition should be- 
  66.  
  67. SETFADE (10,3,1)  
  68. SETFADE (11,4,1)
  69.  
  70. 10 is the Cloth1 fade number
  71. 11 is the Cloth2 fade number
  72. 3 is the blue rectangle object number
  73. 4 is the red rectangle object number
  74. 1 is the area number
  75.  
  76. All the best....Tony
  77.  
  78.